package shapesWithCompareTo;

import java.awt.Point;

public class Square implements Shape, Comparable<Shape>{
	
	private Point topLeft;
	private double length;
	
	@Override
	public void draw(){
		System.out.println("I'm drawing a square");
	}
	
	@Override
	public int compareTo(Shape s) {
	    if(s instanceof Square)
	        return 0;
	      else
	        return -1;
	}
}
